import request from '../utils/request.js'

// 获取轮播图
export const getSwiperList = () => {
	return request({
		url: 'banner/list'
	})
}

// 获取菜单数据
export const getMenuList = () => {
	return request({
		url: 'menu/list'
	})
}

// 获取商品数据
export const getGoodsList = (data) => {
	return request({
		url: 'pro/list',
		data
	})
}